<?php
// +----------------------------------------------
// | Created by PhpStorm
// +----------------------------------------------
// | Author: YnnSon
// +----------------------------------------------
// 项目通用设置
return [
    // +----------------------------------------------------------------------
    // | 基础
    // +----------------------------------------------------------------------
    'token_salt'            => 'JieAn', // token盐值
    'token_expire_in'       => 7000, // token过期时间
    'accessToken_expire_in' => 7000, // access_token过期时间
    'web_img_prefix'        => 'https://' . input('server.server_name') . '/upload/web/', // 后台图片公共前缀
    'api_img_prefix'        => 'https://' . input('server.server_name') . '/upload/api/image/', // API图片公共前缀
    'order_prefix'          => 'JA_', // 订单前缀
    // +----------------------------------------------------------------------
    // | 短信
    // +----------------------------------------------------------------------
    'sms_url'               => 'http://cf.51welink.com/submitdata/service.asmx/g_Submit', // 发送短信接口地址
    // +----------------------------------------------------------------------
    // | 收银系统
    // +----------------------------------------------------------------------
    'add_order_url'         => 'http://bqsy.sjxytech.com/merchants.php?m=Index&c=orderaction&a=order_add', // 新增订单
    'edit_order_url'        => 'http://bqsy.sjxytech.com/merchants.php?m=Index&c=orderaction&a=order_save', // 修改订单状态
    'test_add_order_url'    => 'http://payment.eiphp.com/merchants.php?m=Index&c=orderaction&a=order_add', // 开发环境新增订单接口
    'test_edit_order_url'   => 'http://payment.eiphp.com/merchants.php?m=Index&c=orderaction&a=order_save', // 开发环境修改订单状态接口
];